package com.example.resp;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

@TableName("gaojunyu_banner")
public class bannerResp {
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private long bannerid;
    private String bannerusername;
    private String banneradminname;
    private String bannertime;
    private String bannerreason;
    private int bannerstatus;

    public long getBannerid() {
        return bannerid;
    }

    public void setBannerid(long bannerid) {
        this.bannerid = bannerid;
    }

    public String getBannerusername() {
        return bannerusername;
    }

    public void setBannerusername(String bannerusername) {
        this.bannerusername = bannerusername;
    }

    public String getBanneradminname() {
        return banneradminname;
    }

    public void setBanneradminname(String banneradminname) {
        this.banneradminname = banneradminname;
    }

    public String getBannertime() {
        return bannertime;
    }

    public void setBannertime(String bannertime) {
        this.bannertime = bannertime;
    }

    public String getBannerreason() {
        return bannerreason;
    }

    public void setBannerreason(String bannerreason) {
        this.bannerreason = bannerreason;
    }

    public int getBannerstatus() {
        return bannerstatus;
    }

    public void setBannerstatus(int bannerstatus) {
        this.bannerstatus = bannerstatus;
    }

    @Override
    public String toString() {
        return "banner{" +
                "bannerid=" + bannerid +
                ", bannerusername='" + bannerusername + '\'' +
                ", banneradminname='" + banneradminname + '\'' +
                ", bannertime='" + bannertime + '\'' +
                ", bannerreason='" + bannerreason + '\'' +
                ", bannerstatus=" + bannerstatus +
                '}';
    }
}
